import request from '@/utils/request'

// 查询普通充值列表
export function listNormalRecharge(query) {
  return request({
    url: '/finance/normalRecharge/list',
    method: 'get',
    params: query
  })
}

// 查询普通充值详细
export function getNormalRecharge(id) {
  return request({
    url: '/finance/normalRecharge/' + id,
    method: 'get'
  })
}

// 新增普通充值
export function addNormalRecharge(data) {
  return request({
    url: '/finance/normalRecharge',
    method: 'post',
    data: data
  })
}

// 修改普通充值
export function updateNormalRecharge(data) {
  return request({
    url: '/finance/normalRecharge',
    method: 'put',
    data: data
  })
}

// 删除普通充值
export function delNormalRecharge(id) {
  return request({
    url: '/finance/normalRecharge/' + id,
    method: 'delete'
  })
}

// 导出普通充值
export function exportNormalRecharge(query) {
  return request({
    url: '/finance/normalRecharge/export',
    method: 'get',
    params: query
  })
}